﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogIn_App.Model;
using LogIn_App.Services;

namespace LogIn_App.Controllers
{
    public class LogInController
    {
        private readonly LogInService _logInService;

        public LogInController(LogInService logInService)
        {
            _logInService = logInService;
        }
        public bool LogIn(string loginName,string passwd)
        {
            return _logInService.LogIn(loginName,passwd);
        }
    }
}
